package com.finance.cooperate.dao.entity.primary;

import com.finance.cooperate.dao.support.pojo.BaseAutomaticSimpleVO;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName Identity
 * @Description 用户身份信息表
 * @Author shen
 * @Date 2023/8/6 13:24
 * @Modify ...
 */
@Entity
@Table(name = "app_user_identity")
@Data
public class Identity extends BaseAutomaticSimpleVO {

    private static final long serialVersionUID = -2669645124112192920L;

    // ID
    @Id
    @Column(name = "id")
    private String id;

    // first_name
    @Column(name = "first_name")
    private String firstName;

    // middle_name
    @Column(name = "middle_name")
    private String middleName;

    // last_name
    @Column(name = "last_name")
    private String lastName;

    // 身份证姓名
    @Column(name = "id_card_name")
    private String idCardName;

    // 身份证件id
    @Column(name = "id_card_no")
    private String idCardNo;

    // 税号
    @Column(name = "ein_no")
    private String einNo;

    // 社保号
    @Column(name = "social_no")
    private String socialNo;

    // 截止日期
    @Column(name = "expiry_date")
    private String expiryDate;

    // 出生年月日
    @Column(name = "birthday")
    private String birthday;

    // 年龄
    @Column(name = "age")
    private Integer age;

    // 38男 39女
    @Column(name = "gender")
    private String gender;

    // 借款用途
    @Column(name = "loan_use")
    private String loanUse;

    // 最近一个月工资条图片地址
    @Column(name = "salary_sheet_recently_path")
    private String salarySheetRecentlyPath;

    // 申请Id
    @Column(name = "apply_id")
    private String applyId;

    // 用户Id
    @Column(name = "user_id")
    private String userId;


}
